-------------------------------------------------------------------------------
      name:  <unnamed>
       log:  gallup.out
  log type:  text
 opened on:  30 Apr 2015, 16:15:48

.  set more off;

. /* original data input statement from Gallup data 
> 
> infix wtfctr 7-10 d1 66 d2 67-68 d4 71 d5a 72 d5b 73 d5c 74-75 d5d 76-77
> d9 87 d9a 88 d10 89 d14 97-98 q2 120 q19 163 q20 164 q24 172 q26 174
> using g200811.dat; */
> 
> /* read subset gallup data */
> 
> insheet using gallup.csv, comma;
(17 vars, 2021 obs)

.  /* create various party id variables */
> 
> gen partyid3=2 if d9==1;
(1394 missing values generated)

. replace partyid3=0 if d9==2;
(692 real changes made)

. replace partyid3=1 if d9==3;
(659 real changes made)

. gen rep=(d9==1) if d9<4;
(43 missing values generated)

. gen dem=(d9==2) if d9<4;
(43 missing values generated)

. gen ind=(d9==3) if d9<4;
(43 missing values generated)

. gen partyid5=0 if d9==2;
(1329 missing values generated)

. replace partyid5=4 if d9==1;
(627 real changes made)

. replace partyid5=2 if d9==3 & d9a==3;
(115 real changes made)

. replace partyid5=2 if d9==3 & d9a==4;
(37 real changes made)

. replace partyid5=1 if d9==3 & d9a==1;
(307 real changes made)

. replace partyid5=3 if d9==3 & d9a==2;
(195 real changes made)

. gen ideology=5-d10 if d10<6;
(46 missing values generated)

. /* create demographic variables */
> 
> gen female=(d1==2);

. gen age=d2 if d2>0;
(20 missing values generated)

. gen hispanic=(d4==1);

. gen white=(d5a==1);

. gen black=(d5b==1);

. replace hispanic=1 if d5c==20 | d5d==20;
(4 real changes made)

. gen income=d14 if d14>0 & d14<12;
(175 missing values generated)

. /* create bush approval */
> 
> gen bushappr=(q2==1) if q2<3;
(104 missing values generated)

. /* create bush credibility variable */
> 
> gen bushcred=(q24==2) if q24<3;
(87 missing values generated)

. /* create timetable variable */
> 
> gen disapptime=2 if q19==1;
(1242 missing values generated)

. replace disapptime=1 if q20==2;
(804 real changes made)

. replace disapptime=0 if q20==1;
(336 real changes made)

. /* create iraq success variable */
> 
> gen iraqwin=4-q26 if q26>=1 & q26<=4;
(93 missing values generated)

. /* Table 4 */
> /* Table 4A */
> tab bushcred partyid3 if bushappr==0 [iweight=wtfctr], col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |             partyid3
  bushcred |         0          1          2 |     Total
-----------+---------------------------------+----------
         0 |    569.58     322.83      52.12 |    944.53 
           |     86.98      76.93      44.20 |     79.21 
-----------+---------------------------------+----------
         1 |     85.28      96.79       65.8 |    247.87 
           |     13.02      23.07      55.80 |     20.79 
-----------+---------------------------------+----------
     Total |    654.86     419.62     117.92 |   1,192.4 
           |    100.00     100.00     100.00 |    100.00 


. tab bushcred partyid3 if bushappr==1 [iweight=wtfctr], col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |             partyid3
  bushcred |         0          1          2 |     Total
-----------+---------------------------------+----------
         0 |     13.82      36.91      31.52 |     82.25 
           |     37.37      22.48       7.66 |     13.42 
-----------+---------------------------------+----------
         1 |     23.16     127.29     380.15 |     530.6 
           |     62.63      77.52      92.34 |     86.58 
-----------+---------------------------------+----------
     Total |     36.98      164.2     411.67 |    612.85 
           |    100.00     100.00     100.00 |    100.00 


. /* Table 4B */
> 
> tab iraqwin partyid3 if bushappr==0 [iweight=wtfctr], col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |             partyid3
   iraqwin |         0          1          2 |     Total
-----------+---------------------------------+----------
         0 |    197.33     116.35      16.76 |    330.44 
           |     29.90      27.98      13.59 |     27.55 
-----------+---------------------------------+----------
         1 |    324.15     210.46      56.44 |    591.05 
           |     49.11      50.61      45.76 |     49.29 
-----------+---------------------------------+----------
         2 |    135.88      78.68      47.53 |    262.09 
           |     20.59      18.92      38.54 |     21.86 
-----------+---------------------------------+----------
         3 |      2.71      10.32  2.6000001 |     15.63 
           |      0.41       2.48       2.11 |      1.30 
-----------+---------------------------------+----------
     Total |    660.07     415.81     123.33 |  1,199.21 
           |    100.00     100.00     100.00 |    100.00 


. tab iraqwin partyid3 if bushappr==1 [iweight=wtfctr], col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |             partyid3
   iraqwin |         0          1          2 |     Total
-----------+---------------------------------+----------
         0 |      2.82       5.92  5.5599999 |      14.3 
           |      7.10       3.39       1.40 |      2.34 
-----------+---------------------------------+----------
         1 |     10.92      32.31      53.28 |     96.51 
           |     27.51      18.50      13.39 |     15.76 
-----------+---------------------------------+----------
         2 |     25.44     122.45      300.1 |    447.99 
           |     64.08      70.12      75.42 |     73.17 
-----------+---------------------------------+----------
         3 | .51999998      13.95      38.95 |     53.42 
           |      1.31       7.99       9.79 |      8.73 
-----------+---------------------------------+----------
     Total |      39.7     174.63     397.89 |    612.22 
           |    100.00     100.00     100.00 |    100.00 


. /* Table 4C */
> 
> tab disapptime partyid3 if bushappr==0 [iweight=wtfctr], col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |             partyid3
disapptime |         0          1          2 |     Total
-----------+---------------------------------+----------
         0 |    184.62     116.54      21.04 |     322.2 
           |     28.81      28.20      17.07 |     27.37 
-----------+---------------------------------+----------
         1 |    370.52     206.41      56.71 |    633.64 
           |     57.82      49.95      46.00 |     53.82 
-----------+---------------------------------+----------
         2 |     85.66      90.26      45.54 |    221.46 
           |     13.37      21.84      36.94 |     18.81 
-----------+---------------------------------+----------
     Total |     640.8     413.21     123.29 |   1,177.3 
           |    100.00     100.00     100.00 |    100.00 


. tab disapptime partyid3 if bushappr==1 [iweight=wtfctr], col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |             partyid3
disapptime |         0          1          2 |     Total
-----------+---------------------------------+----------
         0 |      3.39       9.08  9.5899999 |     22.06 
           |      8.19       5.32       2.35 |      3.56 
-----------+---------------------------------+----------
         1 |     16.09      44.84       82.9 |    143.83 
           |     38.86      26.26      20.32 |     23.19 
-----------+---------------------------------+----------
         2 |     21.93     116.82     315.53 |454.279998 
           |     52.96      68.42      77.33 |     73.25 
-----------+---------------------------------+----------
     Total |     41.41     170.74     408.02 |620.169998 
           |    100.00     100.00     100.00 |    100.00 


. /* Table A2 */
> 
> tab iraqwin partyid5 [iweight=wtfctr], col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |                        partyid5
   iraqwin |         0          1          2          3          4 |     Total
-----------+-------------------------------------------------------+----------
         0 |204.019999      88.17       23.8       11.6      23.76 |    351.35 
           |     28.30      29.25      16.11       6.78       4.32 |     18.58 
-----------+-------------------------------------------------------+----------
         1 |    342.67     137.72       65.3      48.83     120.56 |715.079998 
           |     47.53      45.69      44.21      28.53      21.92 |     37.81 
-----------+-------------------------------------------------------+----------
         2 |    171.02       67.5      50.62      102.5     362.98 |    754.62 
           |     23.72      22.39      34.27      59.89      65.99 |     39.90 
-----------+-------------------------------------------------------+----------
         3 |      3.23       8.06  8.0000002       8.21      42.77 |70.2700001 
           |      0.45       2.67       5.42       4.80       7.78 |      3.72 
-----------+-------------------------------------------------------+----------
     Total |    720.94     301.45     147.72     171.14     550.07 |  1,891.32 
           |    100.00     100.00     100.00     100.00     100.00 |    100.00 


. /* Table A3 */
> 
> tab disapptime partyid5 [iweight=wtfctr], col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |                        partyid5
disapptime |         0          1          2          3          4 |     Total
-----------+-------------------------------------------------------+----------
         0 |    188.53      77.97 39.4799996      13.56      32.53 |    352.07 
           |     26.82      26.47      26.98       7.96       5.80 |     18.77 
-----------+-------------------------------------------------------+----------
         1 |    402.46     155.42      54.68      51.38     150.18 |    814.12 
           |     57.26      52.77      37.37      30.18      26.75 |     43.41 
-----------+-------------------------------------------------------+----------
         2 |    111.89      61.14      52.17     105.32     378.63 |709.149998 
           |     15.92      20.76      35.65      61.86      67.45 |     37.81 
-----------+-------------------------------------------------------+----------
     Total |    702.88     294.53     146.33     170.26     561.34 |  1,875.34 
           |    100.00     100.00     100.00     100.00     100.00 |    100.00 


. /* Table A4 */
> 
> tab bushcred partyid5 [iweight=wtfctr], col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |                        partyid5
  bushcred |         0          1          2          3          4 |     Total
-----------+-------------------------------------------------------+----------
         0 |    589.09     232.18      83.84      52.88      85.89 |  1,043.88 
           |     82.96      77.39      60.26      31.76      15.38 |     55.70 
-----------+-------------------------------------------------------+----------
         1 |    120.99      67.83 55.2900002     113.62 472.489998 |    830.22 
           |     17.04      22.61      39.74      68.24      84.62 |     44.30 
-----------+-------------------------------------------------------+----------
     Total |    710.08     300.01     139.13      166.5     558.38 |   1,874.1 
           |    100.00     100.00     100.00     100.00     100.00 |    100.00 


. /* Table A5 */
> 
> tab bushappr partyid5 [iweight=wtfctr], col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |                        partyid5
  bushappr |         0          1          2          3          4 |     Total
-----------+-------------------------------------------------------+----------
         0 |    672.07     277.22       93.8 63.3499999     126.97 |  1,233.41 
           |     94.20      90.90      67.67      38.02      23.11 |     65.84 
-----------+-------------------------------------------------------+----------
         1 |     41.41      27.76      44.82     103.27     422.55 |    639.81 
           |      5.80       9.10      32.33      61.98      76.89 |     34.16 
-----------+-------------------------------------------------------+----------
     Total |    713.48     304.98     138.62     166.62     549.52 |  1,873.22 
           |    100.00     100.00     100.00     100.00     100.00 |    100.00 


. /* Table A8 */
> 
> tab iraqwin bushcred [iweight=wtfctr] if partyid5==3 | partyid5==4, row;

+----------------+
| Key            |
|----------------|
|   frequency    |
| row percentage |
+----------------+

           |       bushcred
   iraqwin |         0          1 |     Total
-----------+----------------------+----------
         0 |     18.99      13.43 |     32.42 
           |     58.57      41.43 |    100.00 
-----------+----------------------+----------
         1 |     60.94  99.769999 |    160.71 
           |     37.92      62.08 |    100.00 
-----------+----------------------+----------
         2 |     49.83     399.81 |    449.64 
           |     11.08      88.92 |    100.00 
-----------+----------------------+----------
         3 | 4.8500001      45.29 |     50.14 
           |      9.67      90.33 |    100.00 
-----------+----------------------+----------
     Total |    134.61      558.3 |    692.91 
           |     19.43      80.57 |    100.00 


. tab disapptime bushcred [iweight=wtfctr] if partyid5==3 | partyid5==4, row;

+----------------+
| Key            |
|----------------|
|   frequency    |
| row percentage |
+----------------+

           |       bushcred
disapptime |         0          1 |     Total
-----------+----------------------+----------
         0 |     20.75      20.19 |     40.94 
           |     50.68      49.32 |    100.00 
-----------+----------------------+----------
         1 |      72.7     119.95 |    192.65 
           |     37.74      62.26 |    100.00 
-----------+----------------------+----------
         2 |     44.26 424.309998 |    468.57 
           |      9.45      90.55 |    100.00 
-----------+----------------------+----------
     Total |    137.71     564.45 |    702.16 
           |     19.61      80.39 |    100.00 


. /* Table A9 */
> 
> tab iraqwin bushcred [iweight=wtfctr] if partyid5==2, row;

+----------------+
| Key            |
|----------------|
|   frequency    |
| row percentage |
+----------------+

           |       bushcred
   iraqwin |         0          1 |     Total
-----------+----------------------+----------
         0 |     22.05       1.75 |      23.8 
           |     92.65       7.35 |    100.00 
-----------+----------------------+----------
         1 |40.5799998      15.29 |     55.87 
           |     72.63      27.37 |    100.00 
-----------+----------------------+----------
         2 |     15.18      28.66 |     43.84 
           |     34.63      65.37 |    100.00 
-----------+----------------------+----------
         3 |      1.08  6.9200001 | 8.0000002 
           |     13.50      86.50 |    100.00 
-----------+----------------------+----------
     Total |     78.89      52.62 |    131.51 
           |     59.99      40.01 |    100.00 


. tab disapptime bushcred [iweight=wtfctr] if partyid5==2, row;

+----------------+
| Key            |
|----------------|
|   frequency    |
| row percentage |
+----------------+

           |       bushcred
disapptime |         0          1 |     Total
-----------+----------------------+----------
         0 |     31.22 2.25999999 |33.4799996 
           |     93.25       6.75 |    100.00 
-----------+----------------------+----------
         1 |     31.82 21.2700001 |     53.09 
           |     59.94      40.06 |    100.00 
-----------+----------------------+----------
         2 |     15.55      29.84 |     45.39 
           |     34.26      65.74 |    100.00 
-----------+----------------------+----------
     Total |     78.59      53.37 |    131.96 
           |     59.56      40.44 |    100.00 


. /* Table A10 */
> 
> tab iraqwin bushcred [iweight=wtfctr] if partyid5==0 | partyid5==1, row;

+----------------+
| Key            |
|----------------|
|   frequency    |
| row percentage |
+----------------+

           |       bushcred
   iraqwin |         0          1 |     Total
-----------+----------------------+----------
         0 |    272.79      13.31 |     286.1 
           |     95.35       4.65 |    100.00 
-----------+----------------------+----------
         1 |    394.32      72.43 |    466.75 
           |     84.48      15.52 |    100.00 
-----------+----------------------+----------
         2 |    125.17      94.34 |    219.51 
           |     57.02      42.98 |    100.00 
-----------+----------------------+----------
         3 | 5.1700001  6.1199999 |     11.29 
           |     45.79      54.21 |    100.00 
-----------+----------------------+----------
     Total |    797.45      186.2 |    983.65 
           |     81.07      18.93 |    100.00 


. tab disapptime bushcred [iweight=wtfctr] if partyid5==0 | partyid5==1, row;

+----------------+
| Key            |
|----------------|
|   frequency    |
| row percentage |
+----------------+

           |       bushcred
disapptime |         0          1 |     Total
-----------+----------------------+----------
         0 |     238.3      24.32 |    262.62 
           |     90.74       9.26 |    100.00 
-----------+----------------------+----------
         1 |    443.54     100.04 |    543.58 
           |     81.60      18.40 |    100.00 
-----------+----------------------+----------
         2 |    105.93      55.93 |    161.86 
           |     65.45      34.55 |    100.00 
-----------+----------------------+----------
     Total |    787.77     180.29 |    968.06 
           |     81.38      18.62 |    100.00 


. /* Table A11 */
> 
> tab bushcred bushappr [iweight=wtfctr], col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |       bushappr
  bushcred |         0          1 |     Total
-----------+----------------------+----------
         0 |    971.88       85.1 |  1,056.98 
           |     79.51      13.63 |     57.23 
-----------+----------------------+----------
         1 |    250.49      539.3 |    789.79 
           |     20.49      86.37 |     42.77 
-----------+----------------------+----------
     Total |  1,222.37      624.4 |  1,846.77 
           |    100.00     100.00 |    100.00 


. /* Table A12 */
> 
> logit bushcred bushappr iraqwin disapptime dem rep ideology
> [pweight=wtfctr];

Iteration 0:   log pseudolikelihood = -1135.2149  
Iteration 1:   log pseudolikelihood = -639.58964  
Iteration 2:   log pseudolikelihood =  -634.2993  
Iteration 3:   log pseudolikelihood = -634.28811  
Iteration 4:   log pseudolikelihood = -634.28811  

Logistic regression                               Number of obs   =       1670
                                                  Wald chi2(6)    =     373.18
                                                  Prob > chi2     =     0.0000
Log pseudolikelihood = -634.28811                 Pseudo R2       =     0.4413

------------------------------------------------------------------------------
             |               Robust
    bushcred |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    bushappr |   1.549609   .2159463     7.18   0.000     1.126362    1.972856
     iraqwin |   .9316329   .1463815     6.36   0.000     .6447304    1.218535
  disapptime |   .5247507    .139447     3.76   0.000     .2514396    .7980618
         dem |  -.6890504   .1940096    -3.55   0.000    -1.069302   -.3087985
         rep |   .8819688   .2456335     3.59   0.000     .4005359    1.363402
    ideology |   .2915922   .1366633     2.13   0.033     .0237371    .5594473
       _cons |  -3.313783   .3216724   -10.30   0.000    -3.944249   -2.683316
------------------------------------------------------------------------------

.   logit bushcred bushappr iraqwin disapptime dem rep ideology female age
> black hispanic income [pweight=wtfctr];

Iteration 0:   log pseudolikelihood = -1066.1569  
Iteration 1:   log pseudolikelihood = -593.04829  
Iteration 2:   log pseudolikelihood = -586.70767  
Iteration 3:   log pseudolikelihood = -586.69205  
Iteration 4:   log pseudolikelihood = -586.69205  

Logistic regression                               Number of obs   =       1551
                                                  Wald chi2(11)   =     362.43
                                                  Prob > chi2     =     0.0000
Log pseudolikelihood = -586.69205                 Pseudo R2       =     0.4497

------------------------------------------------------------------------------
             |               Robust
    bushcred |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    bushappr |    1.65988   .2241667     7.40   0.000     1.220522    2.099239
     iraqwin |   .9577946   .1535058     6.24   0.000     .6569287    1.258661
  disapptime |   .4498927   .1508962     2.98   0.003     .1541416    .7456439
         dem |  -.7144254   .2046239    -3.49   0.000    -1.115481   -.3133699
         rep |   .7294112    .254223     2.87   0.004     .2311432    1.227679
    ideology |   .2825546   .1394137     2.03   0.043     .0093087    .5558004
      female |   .4131897   .1877955     2.20   0.028     .0451173    .7812621
         age |   .0028148   .0060445     0.47   0.641    -.0090322    .0146619
       black |  -.8668259   .3675367    -2.36   0.018    -1.587185   -.1464672
    hispanic |   .4061786   .4237463     0.96   0.338    -.4243489    1.236706
      income |   .0667492   .0416094     1.60   0.109    -.0148036    .1483021
       _cons |  -3.827955   .5678532    -6.74   0.000    -4.940927   -2.714983
------------------------------------------------------------------------------

.  /* Table A13 */
> 
> logit bushcred bushappr iraqwin disapptime ideology
> female age black hispanic income [pweight=wtfctr] if dem==1;

Iteration 0:   log pseudolikelihood = -261.13549  
Iteration 1:   log pseudolikelihood =  -220.3936  
Iteration 2:   log pseudolikelihood = -214.57876  
Iteration 3:   log pseudolikelihood =  -211.9721  
Iteration 4:   log pseudolikelihood = -211.96044  
Iteration 5:   log pseudolikelihood = -211.96044  

Logistic regression                               Number of obs   =        569
                                                  Wald chi2(9)    =      53.04
                                                  Prob > chi2     =     0.0000
Log pseudolikelihood = -211.96044                 Pseudo R2       =     0.1883

------------------------------------------------------------------------------
             |               Robust
    bushcred |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    bushappr |   2.164914   .5416919     4.00   0.000     1.103218    3.226611
     iraqwin |   1.020262   .2624114     3.89   0.000     .5059454    1.534579
  disapptime |   .2555973   .2557838     1.00   0.318    -.2457297    .7569242
    ideology |   .1769739   .2026316     0.87   0.382    -.2201767    .5741246
      female |   .0658134   .3167156     0.21   0.835    -.5549378    .6865646
         age |  -.0112306   .0105426    -1.07   0.287    -.0318938    .0094326
       black |  -.7280623   .4500361    -1.62   0.106    -1.610117    .1539922
    hispanic |   .3484678    .564184     0.62   0.537    -.7573125    1.454248
      income |  -.0231311   .0720612    -0.32   0.748    -.1643684    .1181063
       _cons |  -2.976908   .8973489    -3.32   0.001    -4.735679   -1.218136
------------------------------------------------------------------------------

.   logit bushcred bushappr iraqwin disapptime ideology
> female age black hispanic income [pweight=wtfctr] if ind==1;

Iteration 0:   log pseudolikelihood = -327.89135  
Iteration 1:   log pseudolikelihood = -214.36388  
Iteration 2:   log pseudolikelihood = -212.74464  
Iteration 3:   log pseudolikelihood = -212.73124  
Iteration 4:   log pseudolikelihood = -212.73124  

Logistic regression                               Number of obs   =        494
                                                  Wald chi2(9)    =      96.94
                                                  Prob > chi2     =     0.0000
Log pseudolikelihood = -212.73124                 Pseudo R2       =     0.3512

------------------------------------------------------------------------------
             |               Robust
    bushcred |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    bushappr |   1.781765    .352091     5.06   0.000      1.09168    2.471851
     iraqwin |   1.146271   .2534314     4.52   0.000     .6495547    1.642988
  disapptime |   .6355046    .244326     2.60   0.009     .1566344    1.114375
    ideology |  -.0765906   .1831219    -0.42   0.676    -.4355029    .2823216
      female |   .6560223   .3082759     2.13   0.033     .0518126    1.260232
         age |   .0068589   .0091867     0.75   0.455    -.0111466    .0248644
       black |  -1.085933   .5216849    -2.08   0.037    -2.108417   -.0634497
    hispanic |   .3743426   .6061775     0.62   0.537    -.8137435    1.562429
      income |   .0448267   .0693495     0.65   0.518    -.0910958    .1807491
       _cons |  -3.743581   .8445617    -4.43   0.000    -5.398891    -2.08827
------------------------------------------------------------------------------

.   logit bushcred bushappr iraqwin disapptime ideology
> female age black hispanic income [pweight=wtfctr] if rep==1;

Iteration 0:   log pseudolikelihood = -205.69318  
Iteration 1:   log pseudolikelihood = -152.00755  
Iteration 2:   log pseudolikelihood = -143.30197  
Iteration 3:   log pseudolikelihood = -142.90554  
Iteration 4:   log pseudolikelihood = -142.90477  
Iteration 5:   log pseudolikelihood = -142.90477  

Logistic regression                               Number of obs   =        488
                                                  Wald chi2(9)    =      67.94
                                                  Prob > chi2     =     0.0000
Log pseudolikelihood = -142.90477                 Pseudo R2       =     0.3053

------------------------------------------------------------------------------
             |               Robust
    bushcred |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    bushappr |    1.53514    .396404     3.87   0.000     .7582021    2.312077
     iraqwin |   .5305687    .252961     2.10   0.036     .0347742    1.026363
  disapptime |    .409414   .3172675     1.29   0.197    -.2124189    1.031247
    ideology |   .7806681   .2463436     3.17   0.002     .2978435    1.263493
      female |   .5287923   .3551208     1.49   0.136    -.1672316    1.224816
         age |    .017501   .0112257     1.56   0.119     -.004501    .0395029
       black |  -1.062128   .8723474    -1.22   0.223    -2.771898    .6476412
    hispanic |  -.1033381   1.054542    -0.10   0.922    -2.170203    1.963527
      income |   .1692365   .0751968     2.25   0.024     .0218536    .3166194
       _cons |  -4.848606   1.165006    -4.16   0.000    -7.131976   -2.565236
------------------------------------------------------------------------------

.   /* Table A14 */
> 
> tab iraqwin bushappr [iweight=wtfctr], col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |       bushappr
   iraqwin |         0          1 |     Total
-----------+----------------------+----------
         0 |    341.81       14.3 |    356.11 
           |     27.91       2.30 |     19.29 
-----------+----------------------+----------
         1 |    600.33      99.36 |    699.69 
           |     49.01      15.99 |     37.90 
-----------+----------------------+----------
         2 |    267.02     451.54 |    718.56 
           |     21.80      72.68 |     38.92 
-----------+----------------------+----------
         3 |     15.63      56.09 |     71.72 
           |      1.28       9.03 |      3.88 
-----------+----------------------+----------
     Total |  1,224.79     621.29 |  1,846.08 
           |    100.00     100.00 |    100.00 


. tab disapptime bushappr [iweight=wtfctr], col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |       bushappr
disapptime |         0          1 |     Total
-----------+----------------------+----------
         0 |    336.97      22.06 |    359.03 
           |     28.00       3.50 |     19.58 
-----------+----------------------+----------
         1 |    644.02     148.55 |    792.57 
           |     53.52      23.57 |     43.22 
-----------+----------------------+----------
         2 |     222.4 459.739998 |    682.14 
           |     18.48      72.93 |     37.20 
-----------+----------------------+----------
     Total |  1,203.39 630.349998 |  1,833.74 
           |    100.00     100.00 |    100.00 


. /* Table A15 */
> 
> tab iraqwin bushappr [iweight=wtfctr] if partyid3==2, col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |       bushappr
   iraqwin |         0          1 |     Total
-----------+----------------------+----------
         0 |     16.76  5.5599999 |     22.32 
           |     13.59       1.40 |      4.28 
-----------+----------------------+----------
         1 |     56.44      53.28 |    109.72 
           |     45.76      13.39 |     21.05 
-----------+----------------------+----------
         2 |     47.53      300.1 |347.629999 
           |     38.54      75.42 |     66.70 
-----------+----------------------+----------
         3 | 2.6000001      38.95 |     41.55 
           |      2.11       9.79 |      7.97 
-----------+----------------------+----------
     Total |    123.33     397.89 |    521.22 
           |    100.00     100.00 |    100.00 


. tab disapptime bushappr [iweight=wtfctr] if partyid3==2, col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |       bushappr
disapptime |         0          1 |     Total
-----------+----------------------+----------
         0 |     21.04  9.5899999 |     30.63 
           |     17.07       2.35 |      5.76 
-----------+----------------------+----------
         1 |     56.71       82.9 |    139.61 
           |     46.00      20.32 |     26.28 
-----------+----------------------+----------
         2 |     45.54     315.53 |    361.07 
           |     36.94      77.33 |     67.96 
-----------+----------------------+----------
     Total |    123.29     408.02 |    531.31 
           |    100.00     100.00 |    100.00 


. /* Table A16 */
> 
> tab iraqwin bushappr [iweight=wtfctr] if partyid3==1, col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |       bushappr
   iraqwin |         0          1 |     Total
-----------+----------------------+----------
         0 |    116.35       5.92 |    122.27 
           |     27.98       3.39 |     20.71 
-----------+----------------------+----------
         1 |    210.46      32.31 |242.769999 
           |     50.61      18.50 |     41.12 
-----------+----------------------+----------
         2 |     78.68     122.45 |    201.13 
           |     18.92      70.12 |     34.06 
-----------+----------------------+----------
         3 |     10.32      13.95 |     24.27 
           |      2.48       7.99 |      4.11 
-----------+----------------------+----------
     Total |    415.81     174.63 |    590.44 
           |    100.00     100.00 |    100.00 


. tab disapptime bushappr [iweight=wtfctr] if partyid3==1, col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |       bushappr
disapptime |         0          1 |     Total
-----------+----------------------+----------
         0 |    116.54       9.08 |    125.62 
           |     28.20       5.32 |     21.51 
-----------+----------------------+----------
         1 |    206.41      44.84 |    251.25 
           |     49.95      26.26 |     43.03 
-----------+----------------------+----------
         2 |     90.26     116.82 |    207.08 
           |     21.84      68.42 |     35.46 
-----------+----------------------+----------
     Total |    413.21     170.74 |    583.95 
           |    100.00     100.00 |    100.00 


. /* Table A17 */
> 
> tab iraqwin bushappr [iweight=wtfctr] if partyid3==0, col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |       bushappr
   iraqwin |         0          1 |     Total
-----------+----------------------+----------
         0 |    197.33       2.82 |    200.15 
           |     29.90       7.10 |     28.60 
-----------+----------------------+----------
         1 |    324.15      10.92 |    335.07 
           |     49.11      27.51 |     47.88 
-----------+----------------------+----------
         2 |    135.88      25.44 |    161.32 
           |     20.59      64.08 |     23.05 
-----------+----------------------+----------
         3 |      2.71  .51999998 |      3.23 
           |      0.41       1.31 |      0.46 
-----------+----------------------+----------
     Total |    660.07       39.7 |    699.77 
           |    100.00     100.00 |    100.00 


. tab disapptime bushappr [iweight=wtfctr] if partyid3==0, col;

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

           |       bushappr
disapptime |         0          1 |     Total
-----------+----------------------+----------
         0 |    184.62       3.39 |    188.01 
           |     28.81       8.19 |     27.56 
-----------+----------------------+----------
         1 |    370.52      16.09 |    386.61 
           |     57.82      38.86 |     56.67 
-----------+----------------------+----------
         2 |     85.66      21.93 |    107.59 
           |     13.37      52.96 |     15.77 
-----------+----------------------+----------
     Total |     640.8      41.41 |    682.21 
           |    100.00     100.00 |    100.00 


. /* Table A18 */
> 
> ologit iraqwin bushappr dem rep ideology [pweight=wtfctr];

Iteration 0:   log pseudolikelihood =  -2086.694  
Iteration 1:   log pseudolikelihood = -1723.5383  
Iteration 2:   log pseudolikelihood = -1709.0609  
Iteration 3:   log pseudolikelihood = -1708.9966  
Iteration 4:   log pseudolikelihood = -1708.9966  

Ordered logistic regression                       Number of obs   =       1782
                                                  Wald chi2(4)    =     422.03
                                                  Prob > chi2     =     0.0000
Log pseudolikelihood = -1708.9966                 Pseudo R2       =     0.1810

------------------------------------------------------------------------------
             |               Robust
     iraqwin |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    bushappr |    2.03134   .1629414    12.47   0.000     1.711981    2.350699
         dem |  -.0509898   .1331316    -0.38   0.702     -.311923    .2099433
         rep |   .3703638   .1632431     2.27   0.023     .0504132    .6903145
    ideology |   .5676514   .0788344     7.20   0.000     .4131389    .7221639
-------------+----------------------------------------------------------------
       /cut1 |  -.0034915   .1692889                     -.3352917    .3283087
       /cut2 |   2.315474   .1887871                      1.945458     2.68549
       /cut3 |   6.182461    .297902                      5.598584    6.766338
------------------------------------------------------------------------------

.  ologit iraqwin bushappr dem rep ideology female age black hispanic
> income [pweight=wtfctr];

Iteration 0:   log pseudolikelihood = -1942.8963  
Iteration 1:   log pseudolikelihood = -1588.8721  
Iteration 2:   log pseudolikelihood = -1574.3048  
Iteration 3:   log pseudolikelihood = -1574.2347  
Iteration 4:   log pseudolikelihood = -1574.2347  

Ordered logistic regression                       Number of obs   =       1647
                                                  Wald chi2(9)    =     433.84
                                                  Prob > chi2     =     0.0000
Log pseudolikelihood = -1574.2347                 Pseudo R2       =     0.1897

------------------------------------------------------------------------------
             |               Robust
     iraqwin |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    bushappr |   2.050294    .170246    12.04   0.000     1.716618    2.383971
         dem |   .0756463   .1402265     0.54   0.590    -.1991926    .3504852
         rep |   .4194692   .1763359     2.38   0.017     .0738572    .7650811
    ideology |   .6097206   .0831681     7.33   0.000      .446714    .7727271
      female |    .011248   .1201816     0.09   0.925    -.2243036    .2467996
         age |  -.0068039   .0036007    -1.89   0.059    -.0138612    .0002534
       black |  -.5151933   .2021075    -2.55   0.011    -.9113166   -.1190699
    hispanic |   -.041054   .2323947    -0.18   0.860    -.4965393    .4144312
      income |  -.0639634    .026572    -2.41   0.016    -.1160436   -.0118832
-------------+----------------------------------------------------------------
       /cut1 |  -.6140648   .3088559                     -1.219411   -.0087183
       /cut2 |   1.751637   .3143547                      1.135513    2.367761
       /cut3 |    5.72496   .3721919                      4.995477    6.454443
------------------------------------------------------------------------------

. /* Table A19 */
> 
> ologit disapptime bushappr dem rep ideology [pweight=wtfctr];

Iteration 0:   log pseudolikelihood = -1844.6874  
Iteration 1:   log pseudolikelihood = -1542.2819  
Iteration 2:   log pseudolikelihood = -1536.9947  
Iteration 3:   log pseudolikelihood = -1536.9818  
Iteration 4:   log pseudolikelihood = -1536.9818  

Ordered logistic regression                       Number of obs   =       1776
                                                  Wald chi2(4)    =     402.38
                                                  Prob > chi2     =     0.0000
Log pseudolikelihood = -1536.9818                 Pseudo R2       =     0.1668

------------------------------------------------------------------------------
             |               Robust
  disapptime |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    bushappr |   1.909596   .1610506    11.86   0.000     1.593943    2.225249
         dem |  -.2698807   .1350546    -2.00   0.046    -.5345829   -.0051785
         rep |   .5061413    .174172     2.91   0.004     .1647704    .8475122
    ideology |   .2396117   .0728471     3.29   0.001     .0968341    .3823894
-------------+----------------------------------------------------------------
       /cut1 |  -.6780703    .163211                      -.997958   -.3581825
       /cut2 |   1.837925   .1711822                      1.502414    2.173436
------------------------------------------------------------------------------

.  ologit disapptime bushappr dem rep ideology female age black hispanic
> income [pweight=wtfctr];

Iteration 0:   log pseudolikelihood = -1729.0242  
Iteration 1:   log pseudolikelihood = -1428.9884  
Iteration 2:   log pseudolikelihood = -1423.0824  
Iteration 3:   log pseudolikelihood =   -1423.07  
Iteration 4:   log pseudolikelihood =   -1423.07  

Ordered logistic regression                       Number of obs   =       1642
                                                  Wald chi2(9)    =     396.10
                                                  Prob > chi2     =     0.0000
Log pseudolikelihood =   -1423.07                 Pseudo R2       =     0.1770

------------------------------------------------------------------------------
             |               Robust
  disapptime |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    bushappr |   1.847558   .1665874    11.09   0.000     1.521053    2.174064
         dem |  -.0667671   .1452375    -0.46   0.646    -.3514274    .2178931
         rep |   .5087059   .1833588     2.77   0.006     .1493293    .8680825
    ideology |   .2742417   .0768547     3.57   0.000     .1236093    .4248741
      female |  -.3100165    .121519    -2.55   0.011    -.5481894   -.0718436
         age |  -.0021315    .003637    -0.59   0.558    -.0092598    .0049968
       black |  -.6097806   .1777576    -3.43   0.001    -.9581791   -.2613822
    hispanic |  -.4681541   .2708129    -1.73   0.084    -.9989377    .0626295
      income |   .0762359    .026596     2.87   0.004     .0241087    .1283631
-------------+----------------------------------------------------------------
       /cut1 |  -.5301374   .2885479                     -1.095681    .0354061
       /cut2 |   2.032298   .2920817                      1.459828    2.604768
------------------------------------------------------------------------------

. log close;
      name:  <unnamed>
       log:  gallup.out
  log type:  text
 closed on:  30 Apr 2015, 16:15:49
-------------------------------------------------------------------------------
